import request from "@/utils/request.js";

// 驾驶舱-各市警务区情况
export const getPoliceAreaInfo = (unitId) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/policeAreaInfo',
        params: {
            unitId: unitId
        },
        isEncrypt: false
    })
}

// 驾驶舱-全省警务区情况
export const getPoliceAreaInfoAll = () => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/policeAreaInfoAll',
        isEncrypt: false
    })
}

// 驾驶舱-各类视频接入分类统计
export const getVideoTypeInfo = (unitId) => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/videoCountByRoomBigType',
        params: {
            unitId: unitId
        },
        isEncrypt: false
    })
}

// 驾驶舱-各单位视频接入数量统计
export const getVideoCountByUnit = () => {
    return request({
        method: 'post',
        url: '/stat/sendPolice/videoCountByUnit',
        params: {
            unitId: 100
        },
        isEncrypt: false
    })
}